package com.zhkc.iess.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Schema(description = "登录信息返回")
@Data
public class LoginInfoVO implements Serializable {


    @Serial
    private static final long serialVersionUID = 2604692259209622741L;

    /**
     * 用户id
     */
    @Schema(description = "用户id")
    private Long userId;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String account;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;

    /**
     * 机构id
     */
    @Schema(description = "机构id")
    private Long orgId;

    /**
     * 机构名称
     */
    @Schema(description = "机构名称")
    private String orgName;

    /**
     * token key
     */
    @Schema(description = "token key")
    private String tokenName;

    /**
     * token value
     */
    @Schema(description = "token value")
    private String tokenValue;

    /**
     * 角色列表
     */
    @Schema(description = "roleList")
    private List<String> roleList;

    /**
     * 头像路径（存储图片的后缀路径）
     */
    @Schema(description = "avatar")
    private String avatar;

}
